package com.team2.insulatingtools.modular.tools.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 定额 实例类
 *
 * @author team2
 * @date 2023/04/03 09:48
 */
@TableName("t_quota")
@Data
@EqualsAndHashCode(callSuper = true)
public class Quota extends BaseEntity {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ChineseDescription("主键")
    private Integer id;



    /**
     * 机构id
     */
    @TableField("org_id")
    @ChineseDescription("机构id")
    private String orgId;

    /**
     * 工具id
     */
    @TableField("category_id")
    @ChineseDescription("工具类别")
    private Integer categoryId;

    /**
     * 定额数量
     */
    @TableField("count")
    @ChineseDescription("定额数量")
    private Integer count;

}
